package model.query;

import model.*;

/**
 *
 * @author cska
 * 
 */

public class HQL {

    private static Insert insert;
    private static Select select;
    private static Delete delete;
    private static Update update;

    private HQL() { }

    public static Insert getInsert() {
        if (insert == null)
            insert = new Insert();
        return insert;
    }

    public static Select getSelect() {
        if (select == null)
            select = new Select();
        return select;
    }

    public static Delete getDelete() {
        if (delete == null)
            delete = new Delete();
        return delete;
    }

    public static Update getUpdate() {
        if (update == null)
            update = new Update();
        return update;
    }

}
